/* -----------------------
Base styles
------------------------*/

body
{
	margin: 0;
	padding: 0;
	color: #000;
	background-color: #fff;
	font: 0.95em/1.2 Raleway, Tahoma, Arial, Sans-Serif;
}

h1,h2,h3,h4,h5
{
	margin: 0 0 .5em;
	font-weight: 500;
	line-height: 1.1;
}

h1 { font-size: 1.625em; } /* 26px */
h2 { font-size: 1.375em; color:#474;} /* 22px */
h3 { font-size: 1.125em; } /* 18px */
h4 { font-size: 2em; } /* 16px */
h5 { font-size: 1.6em; } /* 14px */
h6 { font-size: 2.2em; }

p
{
	margin: 0 0 1.3em;
	line-height: 1.3;
}

blockquote
{
	padding: 0.5em 1.5em;
	margin: 0 0 2em;
	border-left: 4px solid #eee;
	color: #888;
	line-height: 1.2;
}

hr
{
	height: 0;
	margin-top: 1em;
	margin-bottom: 2em;
	border: 0;
	border-top: 1px solid #ddd;
}

table
{
	background-color: transparent;
	border-spacing: 0;
	border-collapse: collapse;
	border-left: 1px solid #ddd;
	margin-left: auto;
	margin-right: auto;
}

th, td
{
	padding: .5em 1em;
	vertical-align: top;
	text-align: left;
	border-right: 0px solid #ddd;
}

a { color: #0645AD; cursor: pointer;}
a:link { color: #0645AD; }
a:visited { color: #0B0080; }
a:focus { color: #0645AD; }
a:hover { color: #E60; }
a:active { color: #663366; }

@media (max-width: 924px) {
  .hide {
    display: none !important;
  }
}

/* -----------------------
Layout styles
------------------------*/

.container
{
	max-width: 80em;
	margin: 0 auto;
}

.nav-bar
{
	text-align:center;
	background: #fff;
	padding: 0.75em 0.75em;
	color: #fff;
	position:fixed;
	top:0px;
	z-index:999;
	width:100%;
	border-bottom: 1px solid #ddd;
	opacity:0.98;
}

.header
{
background-color: #ffffff;
background-image: linear-gradient(30deg, #ffffff 8%, #e7eff9 30%, #efebeb 74%);
	padding: 1em 1.25em 0.75em 1.25em;
	text-align:center;
}

.header-heading { margin: 0; line-height: 1.3;}

.content
{
	overflow: hidden;
	/* padding: 1em 1em; */
	background-color: #fff;
}

.col1,.col2
{
	margin-bottom: 1em;
}

.footer
{
	color: #aaa;
	background: #444;
	padding: 1em 1.25em;
	text-align:center;
}

div.imageleft 
{
	float:left;
	margin-top:0em;
	margin-right:1.3em;
	margin-bottom:1.3em;
}

div.imageright 
{
	float:right;
	margin-top:0em;
	margin-left:1.3em;
	margin-bottom:1.3em;
}

table.sound td
{
	padding: 0.25em 0.55em;
	text-align:center;
}

table.sound td.description{
	color:#888;
	padding:0.5em;
	font-style:italic;
}

.set1{
	display:inline;
}

.set2{
	display:none;
}

.hand{
	font-family: Handlee,cursive;
}

.orange{
	color:#474;
}

.centerButtons{
	text-align:center;
	margin-top:1em;
}

.theGrid{
	width: 350px;
	height: 450px;
	margin: 1em auto 0 auto;
	position: relative;
}

#audiogramGrid{
	position: relative;
	left: 0px;
	top: 0px;
	width:350px;
	height:450px;
	z-index: 0;
}

#overB250,#overB375,#overB500,#overB750,#overB1000,#overB1500,#overB2000,#overB3000,#overB4000,#overB6000,#overB8000,#overL250,#overL375,#overL500,#overL750,#overL1000,#overL1500,#overL2000,#overL3000,#overL4000,#overL6000,#overL8000,#overR250,#overR375,#overR500,#overR750,#overR1000,#overR1500,#overR2000,#overR3000,#overR4000,#overR6000,#overR8000{
	position: absolute;
	z-index:2;
	left: 0px;
	top: 0px;
	color:#371;
	font-size: 30px;
	font-family: Handlee,cursive;
}

#overlay{
	position: absolute;
	z-index:1;
	left: 11px;
	top: 9px;
	opacity:0.5;
}


/* -----------------------
Single styles
------------------------*/

.img-responsive { max-width: 100%; }

.btn,.btnR,.btnL {
	color: #fff;
	display: inline-block;
	padding: .25em 1em;
	margin-bottom: 0.5em;
	text-align: center;
	white-space: nowrap;
	vertical-align: middle;
	cursor: pointer;
	border-radius: .2em;
	font-size: .925em;
	opacity:0.75;
}

.btn {
	background-color: #474;
}

.btnL {
	background-color: #009;
}

.btnR {
	background-color: #900;
}

.btn:hover,.btnL:hover,.btnR:hover {
	opacity:1;
}

.table {
	width: 100%;
	max-width: 100%;
	margin-bottom: 20px;
}


/* -----------------------
Wide styles
------------------------*/

@media (min-width: 48em)
{
	.col1
	{
		float: left;
		width: 60%;
		margin-right: 4%;
	}

	.col2
	{
		float: left;
		width: 36%;
	}
	.content
	{
		/* padding: 1.5em 3.5em; */
	}
}

/* -----------------------
Print styles
------------------------*/

@media screen{
	.hideOnPrint{
	visibility:visible;
	color:#AAA;
	}
}
@media print{
	.hideOnPrint{
	visibility:hidden;
	}
}

/* ---------------------
Audio Buttons
------------------------ */

span.audioButton,
span.audioButtonIsLoading,
span.audioButtonIsPlaying,
span.audioButtonLastPlayed {
 	position:relative;
 	display:inline-block;
 	width:40px;
 	height:40px;
 	margin:0 3px 0 3px;
 	vertical-align:middle;
	-webkitborder-radius: 9px;
	-mozborder-radius: 9px;
	border-radius: 9px;
 	cursor:pointer;
 	background-repeat:no-repeat;
	background-position:7px 50%;
	background-size: 24px 24px;
	background-color:#060;
}

span.audioButton {
	background-image:url('../audiogram/notPlaying.png');
	opacity:0.6;
}

span.audioButton:hover {
 	opacity:1;
}

span.audioButtonIsLoading {
	background-image:url('../audiogram/ajax-loader.gif');
	background-repeat:no-repeat;
	background-position:10px 50%;
	background-size: 12px 12px;
	opacity:1;
}

span.audioButtonIsPlaying {
	background-image:url('../audiogram/playing.png');
	background-size: 25px 25px;
	opacity:1;
}

span.audioButtonLastPlayed {
	background-image:url('../audiogram/notPlaying.png');
	opacity:1;
}

span.calibButton,
span.calibButtonIsPlaying {
 	position:relative;
 	display:inline-block;
 	width:40px;
 	height:40px;
 	margin:0 3px 0 3px;
 	vertical-align:middle;
	-webkitborder-radius: 9px;
	-mozborder-radius: 9px;
	border-radius: 9px;
 	cursor:pointer;
 	background-repeat:no-repeat;
	background-position:8px 4px;
	background-size: 28px 28px;
	background-color:#060;
	opacity:0.6;
}

span.calibButton {
	background-image:url('../audiogram/notPlayingCalib.png');
}

span.calibButton:hover {
 	opacity:1;
}

span.calibButtonIsPlaying {
	background-image:url('../audiogram/playingCalib.png');
	background-position:3px 2px;
	background-size: 29px 29px;
	opacity:1;
}

